package com.ditri.common.entity;

import com.ditri.common.entity.BasicEntity;

import java.util.Date;

/**
 * (UserInfo)实体类
 *
 * @author makejava
 * @since 2020-07-29 18:18:32
 */
public class UserInfo extends BasicEntity {
    private static final long serialVersionUID = 887522841691705519L;

    private Long id;

    private String userId;

    private String username;

    private String password;
    /**
     * 个性签名
     */
    private String signature;

    private String phone;

    private String mail;

    private String birthday;

    private Object sex;
    /**
     * 学校名称
     */
    private String schoolName;
    /**
     * 1为统一注册学生用户
     */
    private Object studentCertification;
    /**
     * 统一注册时提交的学号
     */
    private String schoolNumber;
    /**
     * 头像
     */
    private String imgUrl;
    /**
     * 最近一次登录时间
     */
    private String lastLogin;
    /**
     * 账号状态，0为注销，1为激活
     */
    private Object state;

    private Date gmtCreate;

    private Date gmtModified;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public Object getSex() {
        return sex;
    }

    public void setSex(Object sex) {
        this.sex = sex;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public Object getStudentCertification() {
        return studentCertification;
    }

    public void setStudentCertification(Object studentCertification) {
        this.studentCertification = studentCertification;
    }

    public String getSchoolNumber() {
        return schoolNumber;
    }

    public void setSchoolNumber(String schoolNumber) {
        this.schoolNumber = schoolNumber;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getLastLogin() {
        return lastLogin;
    }

    public void setLastLogin(String lastLogin) {
        this.lastLogin = lastLogin;
    }

    public Object getState() {
        return state;
    }

    public void setState(Object state) {
        this.state = state;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

}